* {
    margin: 0;
    padding: 0;
}

ul,
ol,
li {
    list-style: none;
}

img {
    display: block;
}

a {
    text-decoration: none;
}

#header {
    width: 9.7333rem;
    height: 1.0667rem;
    background-color: #f4483e;
    padding: .1333rem;
    text-align: center;
    overflow: hidden;

    a {
        float: left;
        font-size: .5333rem;
        text-decoration: none;
        color: #fff;
        margin-top: .1333rem;
    }

    h1 {
        display: inline-block;
        margin: .2667rem 0;
        color: #fff;
        font-size: .5333rem;
        padding-left: .8rem;
    }

    .app {
        width: .9067rem;
        cursor: pointer;
        float: right;
        vertical-align: middle;
        padding: .1867rem;
    }
}

.tip {
    font-size: .32rem;
    color: #999;
    margin: .2133rem 0;
    text-align: center;
}

.carousel {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: -100%;

    .leftBtn {
        position: absolute;
        left: 1.0667rem;
        width: 1.3333rem;
        height: 2.1333rem;
        top: 7.7333rem;
        font-size: 1.0667rem;
        background-color: #666;
        color: #fff;
        border: none;
    }

    .pic {
        position: relative;
        width: 5.3333rem;
        height: 4.8rem;
        // background-color: red;
        left: 2.3733rem;
        top: 6.2267rem;
        z-index: 1;
        overflow: hidden;

        i {
            position: absolute;
            top: 0;
            right: 0;
            width: .8rem;
            height: .8rem;
            color: #fff;
            background-color: #000;
            font-size: .8rem;
            font-style: normal;
            text-align: center;
            line-height: .8rem;
            z-index: 2;
        }

        ul {
            position: absolute;
            top: 0;
            left: 0;

            li {
                float: left;

                img {
                    width: 5.3333rem;
                    height: 4.2667rem;
                }
            }
        }
    }

    .rightBtn {
        position: absolute;
        right: 1.0667rem;
        width: 1.3333rem;
        height: 2.1333rem;
        top: 7.7333rem;
        font-size: 1.0667rem;
        background-color: #666;
        color: #fff;
        border: none;
    }
}

.product {
    .box {
        overflow: hidden;
        padding: .2667rem .2133rem;

        .boxLeft {
            float: left;

            img {
                width: 2.6667rem;
                height: 2.6667rem;
                padding-right: .2667rem;
            }
        }

        .boxRight {
            .name {
                h4 {
                    color: #333333;
                    word-break: break-all;
                    font-size: .4rem;
                    line-height: .5067rem;
                    min-height: 1.52rem;
                    text-align: left;
                    font-weight: normal;
                }
            }

            .price {
                font-size: .48rem;
            }

            .time {
                font-size: .32rem;
                color: #EE7700;
            }
        }
    }
}

#footer {
    background-color: #f4f4f4;

    .more {
        padding: .2667rem 0;

        a {
            display: block;
            width: 90%;
            font: .32rem/.8rem "";
            margin-left: 5%;
            background-color: #f9f9f9;
            text-align: center;
            border: .0267rem solid #ddd;
            border-radius: .1333rem;
        }
    }

    .rank {
        position: relative;
        background-color: #1d6dff;
        height: .9333rem;
        padding-left: .2667rem;
        color: #fff;
        font: normal .5333rem/.9333rem "微软雅黑";
        margin: .2667rem .16rem 0 0;

        a {
            position: absolute;
            top: .2rem;
            right: .2rem;

            img {
                height: .5333rem;
            }
        }
    }

    .login {
        .row {
            display: flex;
            margin-top: .2667rem;

            a {
                flex: 1;
                border: .0267rem solid #c4c4c4;
                font: .3733rem/.88rem "";
                text-align: center;

                &:nth-child(2),
                &:nth-child(3) {
                    border-left: none;
                }
            }
        }

        .container {
            padding-top: .2667rem;
            font-size: .3467rem;

            p {
                text-align: center;
                padding-bottom: .2667rem;

                a {
                    font-size: .3467rem;
                    color: #666
                }
            }
        }
    }
}